package com.woniuxy.mapper;

import com.woniuxy.entity.DriverManagement;
import com.woniuxy.entity.dto.CarDTO;

import java.util.List;

public interface CarMapper {
    List<CarDTO> queryAllCar(CarDTO carDTO);
    void addCar(CarDTO carDTO);
    void updateStatus(CarDTO carDTO);
    List<CarDTO> queryAllDriver();
    DriverManagement queryLicenseType(String id);
    void updateCarDriverId(CarDTO carDTO);
    void updateDriverCarId(String carId,String driverId);
    DriverManagement queryDriverStatus(String id);
    void updateCarDriverIdNull(String CarId);
    void updateDriverCarIdNull(String driverId);





}
